package Zhouliu;
import java.util.Scanner;
public class A1 {
    public static void main(String [] args){
        Scanner sc=new Scanner(System.in);
        //创建对象并且实例化对象
        A print=new A();
        System.out.println("请输入被猜测的数字");
        print.num=sc.nextInt();
        //调用重载无参方法
        print.guess();
    }

}
